package tests;

import org.openqa.selenium.By;

import static common.Utils.driver;

public class LoginPage {
    public static String url = "http://8.137.19.140:9090/blog_login.html";

    public LoginPage(){
        super();
    }

    /*检查页面是否可以正常打开
    * */
    public void checkPageRight(){
        //检查菜单是否加载成功
        driver.findElement(By.cssSelector("body > div.nav > a:nth-child(4)"));
        driver.findElement(By.cssSelector("body > div.nav > a:nth-child(5)"));
    }

    public void LoginFail(){


    }
}
